import { request } from '@/network/request.js'

// 根据id号加入班课
export const joinCourse = function (bankeId) {
    return request.post(`/course/student/${bankeId}`);
}

// 根据id号退出班课
export const quitCourse = function (bankeId) {
    return request.delete(`/course/student/${bankeId}`);
}
// 根据id号查看是否已加入班课
export const ifJoinCourse = function (bankeId) {
    return request.get(`/course/student/${bankeId}`);
}
